package com.xiaoc.bulldozer.common.dto;

import com.xiaoc.bulldozer.common.model.WeixinUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * WeixinUser Dto
 *
 * @author Danfo Yam
 *
 * @date 2018-08-24 15:47:58
 */
public class WeixinUserDto extends WeixinUser {
    
    private static final long serialVersionUID = 1L;

    private String code;

    private String sessionKey;

    private String sessionId;
    
    private String phoneNumber;
    
    private String verifyCode;

    private String userTypeName;

    private Integer parentUserId;

    /**
     * 分销类型
     */
    private Integer distributeType;

    /**
     * session开始时间
     */
    private Long sessionTime;

    /**
     * 代理openId
     */
    private String proxyOpenId;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getSessionKey() {
        return sessionKey;
    }

    public void setSessionKey(String sessionKey) {
        this.sessionKey = sessionKey;
    }

    public String getSessionId() {
        return sessionId;
    }

    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }

    public Long getSessionTime() {
        return sessionTime;
    }

    public void setSessionTime(Long sessionTime) {
        this.sessionTime = sessionTime;
    }

    public String getProxyOpenId() {
        return proxyOpenId;
    }

    public void setProxyOpenId(String proxyOpenId) {
        this.proxyOpenId = proxyOpenId;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getVerifyCode() {
        return verifyCode;
    }

    public void setVerifyCode(String verifyCode) {
        this.verifyCode = verifyCode;
    }

    public String getUserTypeName() {
        return userTypeName;
    }

    public void setUserTypeName(String userTypeName) {
        this.userTypeName = userTypeName;
    }

    public Integer getParentUserId() {
        return parentUserId;
    }

    public void setParentUserId(Integer parentUserId) {
        this.parentUserId = parentUserId;
    }

    public Integer getDistributeType() {
        return distributeType;
    }

    public void setDistributeType(Integer distributeType) {
        this.distributeType = distributeType;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this,
                ToStringStyle.SHORT_PREFIX_STYLE);
    }
}
